package edu.gxnu.cetcdemo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @TableName materials
 */
@TableName(value = "materials")
@Data
@ApiModel("物资实体类")
public class Materials implements Serializable {
    @ApiModelProperty("物资编号")
    @TableId(value = "materials_id", type = IdType.AUTO)
    private Integer materialsId;

    @ApiModelProperty("")
    private String materialsName;

    @ApiModelProperty("")
    private Integer materialsCount;

    @ApiModelProperty("")
    private String materialsPlace;

    @Serial
    private static final long serialVersionUID = 1L;
}